package com.iot.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iot.common.annotation.Excel;
import com.iot.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 device_parameter_record
 * 
 * @author iot
 * @date 2024-12-26
 */
public class DeviceParameterRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 参数类型1:温度 */
    @Excel(name = "参数类型1:温度")
    private Integer parametersType;

    /** 参数值 */
    @Excel(name = "参数值")
    private String parametersValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setParametersType(Integer parametersType) 
    {
        this.parametersType = parametersType;
    }

    public Integer getParametersType() 
    {
        return parametersType;
    }
    public void setParametersValue(String parametersValue) 
    {
        this.parametersValue = parametersValue;
    }

    public String getParametersValue() 
    {
        return parametersValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("parametersType", getParametersType())
            .append("parametersValue", getParametersValue())
            .append("createTime", getCreateTime())
            .toString();
    }
}
